New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove Q for Native Promise #78
Conversation
WarningI want to point out that this update script never checked or verified the provided project path. |
That does not sound so good. Unfortunately I cannot tell for sure what is the corresponding behavior on the other platforms. I would favor raising one or more issues to track both the behavior and level of consistency between the supported platforms. I think it should be OK to continue with this change now, and deal with that behavior whenever we can. I cannot tell whether or not this may be a breaking change. In case of any doubt, I would favor targeting this change for the next major release. And a nit that I do not favor unchecked items in the checklist. I personally do strikethrough on the items that are not needed, not sure if we have any consensus about this. |
I also agree that this does not sound good. Fixing the behavior or discussing the removal of this process can be separate issue ticket, as you pointed out. It might be easier if users just remove and add back the platform. I also agree that we can continue on as the purpose of this PR is achieved. The issue I raised would be out of scope from this ticket. It just happened to have been discovered while working on this. Anyways, I feel that this is not a major change and could be a minor release. I did not remove dependencies as it never existed in the Also, I believe these changes only affect non-CLI workflow. I didn't see
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Regarding fixing the update script: IIRC, cordova-android and cordova-ios do not even support |
Co-Authored-By: Raphael von der Grün <raphinesse@gmail.com>
@raphinesse I never tried the CLI route. What I tested was the non-CLI, Platform-centric, use cases. If the Platform-centric use cases were removed, then we could simplify and make a generic remove and add process. |
Platforms affected
browser
Motivation and Context
Remove
Q
Efforts: apache/cordova#7Description
This repo did not have the
Q
dependency defined explicit inpackage.json
but was still usingQ
that would have been a sub-dependency ofcordova-common
.This PR removes the only usage of
Q
.Testing
npm t
Update with Good Project Path
Checklist